package com.hmall.api;



import com.hmall.api.config.DefaultFeignConfig;
import com.hmall.api.dto.Order;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "trade-service",
        configuration = DefaultFeignConfig.class)
public interface TradeClient {

    @PostMapping("/status")
     void updateById(@RequestBody Order orderFormDTO);
}
